#include <readTxt.h>
using namespace std;

vector<string> ReadIP(string PathName)
{
    std::cout<<PathName<<std::endl;
    ifstream infile;
    infile.open(PathName);

    vector<string> IpAdress;
    string line;
    while (getline(infile, line))
    {
        IpAdress.push_back(line);
    }
    infile.close();
    //cout << IpAdress.size() << endl;

    return IpAdress;
}

// int main()
// {
//     vector<string> IpAdress = ReadIP("IP1.txt");
//     for(int i = 0;i<IpAdress.size();i++){
//         cout<<IpAdress[i]<<endl;
//     }
// }